home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / 1938 / COPYRECT.DOC < prev    next >
Text File  |  1992-09-24  |  2KB  |  62 lines

  1. CopyRect version 1.0 (C) SPETER SOFTWARE,   March 1990.
  2.  
  3. This program will copy part of a text screen to a file or the screen!
  4. The program was written in Borland's Turbo Pascal 5.5
  5.  
  6. SYNTAX:
  7. -------
  8.      1:   CopyRect
  9.      2:   CopyRect page1 row1 column1 row2 column2 page2 row3 column3
  10.      3:   CopyRect page1 row1 column1 row2 column2 out-file
  11.      4:   CopyRect in-file page2 row3 column3
  12.  
  13. NOTES:
  14.      1:   Output (this) help screen!
  15.      2:   Copy screen area (row1,column1)-(row2,column2) on screen (page1) to
  16.           screen area  (row3,column3)  on screen (page2).  When both screens
  17.           are the same: make sure the rectangle starting from (row3,column3)
  18.           does not overlap the original rectangle;  if it does, then strange
  19.           effects will result!
  20.      3:   Copy screen area (row1,column1)-(row2,column2) on screen (page1) to
  21.           the binary file (out-file).
  22.      4:   Display  CopyRect file (in-file) at (row3,column3) on screen (page2).
  23.  
  24.   pages      are in the range  [0..7]  depending on the display type.
  25.   rows       are in the range  [0..24]
  26.   columns    are in the range  [0..79]
  27.   out-file   must be a valid DOS file-name
  28.   in-file    must be a valid DOS file-name
  29.  
  30.  
  31. EXAMPLES:
  32.     CopyRect 0  0 0  24 79  1  0 0
  33.        copy the whole of screen 0 (the default display screen) to screen 1
  34.  
  35.     CopyRect 1  0 0  24 79  1  0 0
  36.        copy the screen 1  to  screen 0  !
  37.  
  38.     CopyRect 0  10 0  14 79  store
  39.        copy lines 10-14 (inclusive) in the file "store".
  40.  
  41.     CopyRect store 0  20 0
  42.        display the file "store" starting at (20,0).
  43.  
  44.     CopyRect 0  10 12  18 29  0  0 40
  45.        copy lines 10-18 between columns 12 & 29 to (0,40).
  46.        when copying on the same screen make sure your rectangles don't overlap!
  47.  
  48.  
  49. SOURCE LISTING
  50.   For a commented source listing of the program, send $50 to the address below.
  51.  
  52. ==============================================================================
  53.     Please address any comments to:
  54.  
  55.         SPETER Software
  56.         P.O. BOX 643
  57.         LANE COVE
  58.         NSW  2066
  59.         AUSTRALIA
  60. ==============================================================================
  61.  
  62.